/*
 * @Description: 
 * @Version: 0.0
 * @Author: taosong
 * @Date: 2023-03-25 17:28:01
 * @LastEditors: taosong
 * @LastEditTime: 2023-04-03 14:39:08
 */
import { App, Component } from 'vue'
import selectArea from './selectArea'
import table from './table'
import form from './form'
import modal from './modal'
import modalForm from './modalForm'
import badge from './badge'
import selectInput from './selectInput'

const components = [
  selectArea,
  table,
  form,
  modal,
  modalForm,
  badge,
  selectInput
]
interface FileType {
  [key: string]: Component
}

export default {
  install(app: App) {
    components.map(item => {
      app.use(item)
    })
  }
}